<template>
  <DemoSuspense datasource="/demo/Dishwasher/data" :control-creator="createDemoDishwasherControl">
    <template #default="{ control }">
      <DishwasherView :control="(control as DishwasherController.Control)" />
    </template>
  </DemoSuspense>
</template>

<script setup lang="ts">
import DemoSuspense from '../DemoSuspense.vue'
import DishwasherView from '../../Dishwasher/DishwasherView.vue'
import { createDemoDishwasherControl } from '@/controller/demo/Dishwasher'
import type { DishwasherController } from '@/controller/Dishwasher/definition'
</script>
